import 'package:flutter/material.dart';
import 'package:flutter_layout/base/index.dart';
    
class CheckPage extends StatefulWidget {
  const CheckPage({Key? key}) : super(key: key);

  @override
  _CheckPageState createState() => _CheckPageState();
}

class _CheckPageState extends State<CheckPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text(''),
      ),
      body: Wrap(
        children: [
          CheckboxListTile(value: true, onChanged: (value){
            showToast("$value");
          }),
          Checkbox(value: true, onChanged:(value) {
            showToast("$value");
          },),
        ],
      ),
    );
  }
}